package com.loong.member.common.forehead.param;

import com.loong.common.mvc.ParamBaseDO;
import com.loong.common.validator.group.CommonInsert;
import com.loong.common.validator.group.CommonUpdate;
import com.loong.common.validator.group.CommonValidate;
import com.loong.global.dto.UserDTO;
import lombok.*;
import org.springframework.web.bind.annotation.ModelAttribute;

import javax.validation.constraints.NotNull;

/**
 * @Description:
 * @Author: 刘群
 * @Date: 2020/10/24 18:04
 */
@Builder
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
public class CartQueryForeheadParam{
    /**
     * 用户id
     */
     private Long userId;

    /**
     * 商家id
     */
    @NotNull(message = "商家id不能为空",groups = {CommonValidate.class})
     private Long sellerId;
}
